package com.daogu.fuelcard.entity;

import io.swagger.v3.oas.annotations.media.Schema;

import java.math.BigDecimal;

@Schema(title = "请款记录")
public class RequestRecord {

    @Schema(description = "主键id")
    private Integer id;

    @Schema(description = "卡号")
    private String cardNo;

    @Schema(description = "是否核销 1未核销 2部分核销 3全部核销")
    private String writeOff;

    @Schema(description = "请款金额")
    private BigDecimal requestAmount;


    @Schema(description = "核销金额")
    private BigDecimal writeOffAmount;

    public RequestRecord() {}

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public BigDecimal getRequestAmount() {
        return requestAmount;
    }

    public void setRequestAmount(BigDecimal requestAmount) {
        this.requestAmount = requestAmount;
    }

    public BigDecimal getWriteOffAmount() {
        return writeOffAmount;
    }

    public void setWriteOffAmount(BigDecimal writeOffAmount) {
        this.writeOffAmount = writeOffAmount;
    }

    public String getWriteOff() {
        return writeOff;
    }

    public void setWriteOff(String writeOff) {
        this.writeOff = writeOff;
    }

    @Override
    public String toString() {
        return "RequestRecord{" +
                "id=" + id +
                ", cardNo='" + cardNo + '\'' +
                ", writeOff='" + writeOff + '\'' +
                ", requestAmount=" + requestAmount +
                ", writeOffAmount=" + writeOffAmount +
                '}';
    }
}
